/****************************************************************************
 *  Constant class
 *  Define constant for app
 *  
 *  Created by ThuanHM.
 ****************************************************************************/
package util;

public class Constant {
	
	/** Sender */
	public static final String SENDER_ID = "513754115434";
	
	/** Message */
	public static String NO_INTERNET_TITLE = "Error network";
	public static String NO_INTERNET_CONTENT = "Please check your internet network";
	
	public static String HTTP = "http://";
	public static String HOST_NAME = "boows.99s.vn/";
	public static String HTTP_ADDRESS = HTTP.concat(HOST_NAME);
	public static String ROOT_SERVICE = HTTP_ADDRESS.concat("index.php/api/webservice/");
	
	

	public static final String API_AUTO_REGIS_URL="http://boows.99s.vn/index.php/api/webservice/autoregister/format/json?";
	public static final String API_GET_MERCHANT_URL = ROOT_SERVICE.concat("merchants/format/json");
	public static final String API_GET_FEED_URL = ROOT_SERVICE.concat("merchfeeds/format/json");
	public static final String API_GET_STORE_URL = ROOT_SERVICE.concat("allstores/format/json");
	public static final String API_GET_PRODUCT_URL = ROOT_SERVICE.concat("merchproducts3/format/json");
	public static final String API_GET_USERINFO =  ROOT_SERVICE.concat("customerinfo/format/json");
	
	public static final String API_GET_CATEGORY_API= ROOT_SERVICE.concat("merchcategories3/format/json?");
	public static final String API_UPDATE_USER_INFO= ROOT_SERVICE.concat("customerupdate/format/json");
	public static final String API_LIKE_PRODUCT= ROOT_SERVICE.concat("likeproduct/format/json");
	public static final String API_LIST_CHANNEL = ROOT_SERVICE.concat("getchannels/format/json");
	/** Auto update acc */
	public static final String API_UPDATE_FACEBOOK = 
			"http://boows.99s.vn/index.php/api/webservice/customerupdate/format/json?custId=%s&custName=%s&custPhone=%s&custEmail=%s&birthday=%s&custAddress=%s&loginType=%s&loginId=%s";
	
}
